
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>通知列表</title>
</head>
<body>
<h1 align="center"> 通知列表 </h1>

<p align="center">遍历List集合的全部元素：</p>
<br>
<table border="solide 1px" width="80%" align="center">
    <tr>
        <td>id</td>
        <td>标题</td>
        <td>内容</td>
        <td>发布时间</td>
        <td>操作</td>
    </tr>
<c:forEach items="${requestScope.noticeList}" var="notice" varStatus="id">
    <tr>
        <td> ${notice.id}</td>
        <td>${notice.title}</td>
        <td>${notice.content}</td>
        <td>${notice.pushTime}</td>
        <td>删除|修改</td>
    </tr>
</c:forEach>


</table>
<br>


</body>
</html>
